<?php
/************************************************ 
 | Copyright Reserved , Oversea.com.au
 | Developper: Cavin Zhang
 | Date: Jan 7,2012
 | Program: select the associated model at the frontend
 */

class frontEndModelSelection {
	
	function __construct() {
		
	}
	
	/**
	 * Get the list of blog category
	 * @param unknown_type $limitType //to be the member type
	 */
	public static function getBlogCategory($limitType='') {
		global $dbObj;
		
		$sql = "SELECT * FROM `cs_blog_category` WHERE 1=1 ";
		$sql .= ($limitType == '') ? '': " AND `version` = '".mysql_real_escape_string($limitType)."'";
		$sql .= ' ORDER BY `sequence` ASC';
		
		$tRecorderSet = $dbObj -> executeQuery($sql);
	
		return $tRecorderSet;
	}
	
	public static function getAssociatedBlogList($limitType = '',$offset='')
	{
		
	}
}

?>